#ifndef LINESTREAM_H
#define LINESTREAM_H

#include "ByteStream.h"

class LineStream: public ByteStream
{
public:
	LineStream();
	~LineStream();

	const char* GetNextLine();
	const char* GetLine() const;

protected:

private:
	LineStream(const LineStream& rhs); // copy constructor not implemented yet
	void Clear();
	bool IsLF(char c);
	bool IsCR(char c);

	unsigned int linesize;
	char *line;
};

#endif //LINESTREAM_H
